/**
 * output package name
 */
package com.kingdee.eas.custom.cifisms;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class TemplateTypeEnum extends StringEnum
{
    public static final String BUSINESS_VALUE = "1";
    public static final String CUS_VALUE = "2";
    public static final String SUPPLIER_VALUE = "3";
    public static final String GROUPS_VALUE = "4";
    public static final String EXL_VALUE = "5";

    public static final TemplateTypeEnum business = new TemplateTypeEnum("business", BUSINESS_VALUE);
    public static final TemplateTypeEnum cus = new TemplateTypeEnum("cus", CUS_VALUE);
    public static final TemplateTypeEnum supplier = new TemplateTypeEnum("supplier", SUPPLIER_VALUE);
    public static final TemplateTypeEnum groups = new TemplateTypeEnum("groups", GROUPS_VALUE);
    public static final TemplateTypeEnum exl = new TemplateTypeEnum("exl", EXL_VALUE);

    /**
     * construct function
     * @param String templateTypeEnum
     */
    private TemplateTypeEnum(String name, String templateTypeEnum)
    {
        super(name, templateTypeEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static TemplateTypeEnum getEnum(String templateTypeEnum)
    {
        return (TemplateTypeEnum)getEnum(TemplateTypeEnum.class, templateTypeEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(TemplateTypeEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(TemplateTypeEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(TemplateTypeEnum.class);
    }
}